package com.icss.lesson2;

public class TestMain5 {
    public static void main(String[] args) {
        Meinv a1 = new Meinv();
        Cat cat1 = new YingDuan();
        a1.baomao(cat1);

        Cat cat2 = new Buou();
        a1.baomao(cat2);
    }
}
